﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;

namespace WaveMaster.Holidays.Club.Domain
{
    public class TripTime :Trip
    {
        public TripTime():base()
        { }
        public TripTime(Trip rd)
        {
            m_tripID = rd.m_tripID;
            m_tripCode = rd.m_tripCode;
            m_vessel = rd.m_vessel;
            m_seaPort = rd.m_seaPort;
            m_departureDate =rd. m_departureDate;
            m_departureTime =rd.m_departureTime;
            m_avaliable = rd.m_avaliable;

            m_cretnDate = rd.m_cretnDate;
            m_cretnBy = rd.m_cretnBy;
            m_modfctnDate = rd.m_modfctnDate;
            m_modfctnBy =rd. m_modfctnBy;
        }
        public override string ToString()
        {
            return m_departureTime.ToString("HH:mm");
        }
    }
}
